package com.example.lots_of_demo.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author : LZJ
 * @description : code for LZJ
 * @date : 2021/2/11
 */
@Data
@Accessors(chain = true)
public class RUserRole implements Serializable {
    /**
     * 用户与角色关联主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 创建者ID
     */
    private Long creatorId;

    /**
     * 创建时间
     */
    private String createDateTime;

    private static final long serialVersionUID = 1L;
}